const path = require("path");


let filePath = "D:\\ff_test\\out\\1\\1080p/291130010000.ts";
let fle_name = path.basename(filePath);
let ext = path.extname(filePath);
console.log(fle_name)
console.log(ext)